/*
 *    Document   : StPostagem
 *    Created on : 28/02/2013, 09:42:09
 *    Author     : Fiúza <rbfiuza@gmail.com>
 */

Ext.define('FC.model.StPostagem',{
 extend:'Ext.data.Model',
 
 fields:[
     
    {name:'id',type:'int'}
    ,{name:'dscPostagem',type:'string'}
    ,{name:'qntPostagem',type:'string'}
    ,{name:'disciplina',type:'int'}
    ,{name:'polos',type:'int'}    
    ,{name:'qnt',type:'number'}
    ,{name:'vlrUnit',type:'number'}
    ,{name:'vlrFinal',type:'number'}
    ,{name:'indicacoesParametros', type:'string'}
    
 ],
 
 validations:[
    {type:'presence', field:'qntPostagem'}
    ,{type:'presence', field:'vlrUnit'}
 ]

});